﻿/*
   Open Intel 
   Copyright © 2011 – ISC. All Rights Reserved.
*/

namespace OI.Framework
{
	using System;
	using System.Diagnostics;
	using Caliburn.Micro;

	public class SimpleLogger : ILog
	{
		public void Info(string format, params object[] args)
		{
			Debug.WriteLine(format, args);
		}

		public void Warn(string format, params object[] args)
		{
			Debug.WriteLine("!!! " + format, args);
		}

		public void Error(Exception exception)
		{
			Debug.WriteLine("EXCEPTION!: {0}", exception.Message);
		}
	}
}